# coding: utf-8
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()



class AccuseInfo(db.Model):
    __tablename__ = 'accuse_info'

    AutoID = db.Column(db.BigInteger, primary_key=True, info='主键自增')
    AUserID = db.Column(db.String(100), info='举报人ID')
    PassageID = db.Column(db.BigInteger, info='文章ID')
    AccuseContent = db.Column(db.String(1000), info='举报内容')
    IsDelete = db.Column(db.Integer, server_default=db.FetchedValue(), info='0-未删除，1-已删除')
    CreateTime = db.Column(db.DateTime, server_default=db.FetchedValue())
    ModifyTime = db.Column(db.DateTime, server_default=db.FetchedValue(), info='修改时间')
